/***************************************************************************
 *   Copyright (C) 2009 by wutongyu   *
 *
 ***************************************************************************/

#include "Worker.h"

Worker::Worker(){
}

Worker::Worker(const Worker& w){
   name = w.name;
   mobileNumber = w.mobileNumber;
   qqNumber = w.qqNumber;
   dorm = w.dorm;
   email = w.email;
   workTime = w.workTime;
}

Worker & Worker::operator =(const Worker& w){
  name = w.name;
  mobileNumber = w.mobileNumber;
  qqNumber = w.qqNumber;
  dorm = w.dorm;
  email = w.email;
  workTime = w.workTime;
}